//package com.growthserver.util;
//
//import cn.hutool.core.date.DateUtil;
//import com.alibaba.fastjson.JSONObject;
//
//import java.util.UUID;
//
//public class LogUtil {
//    public static String TYPE_BIZ = "biz";
//    public static String TYPE_PFM = "pfm";
//    public static String TYPE_ERR = "err";
//    public static JSONObject newLogMsg(String type,String msg){
//        JSONObject jsonObject = new JSONObject();
//        jsonObject.put("logid", UUID.randomUUID().toString().replace("-",""));
//        jsonObject.put("logfrom", "");
//        jsonObject.put("logtype", type);
//        //jsonObject.put("biztype", "业务类型");
//        jsonObject.put("busid",UUID.randomUUID().toString().replace("-",""));
//        jsonObject.put("operid","java");
//        jsonObject.put("opertime", DateUtil.now());
//        jsonObject.put("opercontext",msg);
//        return jsonObject;
//    }
//}
